package com.ktgj.pay.domain;

import java.io.Serializable;

public class MoSendMail implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 发票记录
	 */
	private String invoiceId;
	/**
	 * 附件名称
	 */
	private String fileName;
	/**
	 * 附件路径
	 */
	private String filePath;
	/**
	 * 接收邮件人地址
	 */
	private String toAddress;
	/**
	 * 邮件标题
	 */
	private String title;
	/**
	 * 邮件正文
	 */
	private String context;
	/**
	 * 是否包含附件
	 */
	private boolean isContainFJ;
	/**
	 * 是否发送成功
	 */
	private boolean isSend;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getToAddress() {
		return toAddress;
	}

	public void setToAddress(String toAddress) {
		this.toAddress = toAddress;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	

	public boolean isContainFJ() {
		return isContainFJ;
	}

	public void setContainFJ(boolean isContainFJ) {
		this.isContainFJ = isContainFJ;
	}

	public boolean isSend() {
		return isSend;
	}

	public void setSend(boolean isSend) {
		this.isSend = isSend;
	}

	public String getInvoiceId() {
		return invoiceId;
	}

	public void setInvoiceId(String invoiceId) {
		this.invoiceId = invoiceId;
	}

	public MoSendMail() {
		super();
	}

	public MoSendMail(String invoiceId, String fileName, String filePath, String toAddress, String title,
                      String context, boolean isContainFJ, boolean isSend) {
		super();
		this.invoiceId = invoiceId;
		this.fileName = fileName;
		this.filePath = filePath;
		this.toAddress = toAddress;
		this.title = title;
		this.context = context;
		this.isContainFJ = isContainFJ;
		this.isSend = isSend;
	}

	@Override
	public String toString() {
		return "MoSendMail [invoiceId=" + invoiceId + ", fileName=" + fileName + ", filePath=" + filePath
				+ ", toAddress=" + toAddress + ", title=" + title + ", context=" + context + ", isContainFJ="
				+ isContainFJ + ", isSend=" + isSend + "]";
	}

	
	
	

}
